package android.slc.sys.ui;

import android.content.Context;
import android.content.Intent;
import android.os.Bundle;
import android.slc.appbase.ui.activity.base.AppMvvmBaseToolBarActivity;
import android.slc.sys.R;
import android.slc.sys.databinding.SysActivityAboutWeBinding;

import androidx.annotation.Nullable;

/**
 * @author slc
 * @date 2020-09-23 16:09
 */
public class AboutWeActivity extends AppMvvmBaseToolBarActivity<SysActivityAboutWeBinding,AboutWeVm> {

    public static void show(Context context) {
        Intent intent = new Intent(context, AboutWeActivity.class);
        context.startActivity(intent);
    }

    @Override
    public Object setContentView() {
        return R.layout.sys_activity_about_we;
    }

    @Override
    public void onBindView(@Nullable Bundle savedInstanceState) {
        super.onBindView(savedInstanceState);
        mSlcToolbar.setTitle(R.string.sys_label_about_we);
    }

    @Override
    public void onBindViewLater() {
        super.onBindViewLater();
        getDataBinding().setVm(viewModel);
    }
}
